package com.google.code.sip.ucenter.model;

import java.util.Date;

import com.google.code.morphia.annotations.Entity;
import com.google.code.morphia.annotations.Reference;

/**
 * 不良词语实体类,用于用户名注册
 * 
 * @author Liuye
 * 
 */
@SuppressWarnings("serial")
@Entity(noClassnameStored = true)
public class UserEvent extends BaseEntity {
	/**
	 * 用户
	 */
	@Reference
	private User user;
	/**
	 * 事件类型
	 */
	private String type;
	/**
	 * 事件内容
	 */
	private String content;

	/**
	 * 创建日期
	 */
	private Date createdDate = new Date();

	public User getUser() {
		return user;
	}

	public void setUser(User user) {
		this.user = user;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

}
